package com.diaohw.module.system.obj.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 用户 DTO
 *
 * @author D-Hw
 * @since 2024-07-05
 */
@Data
@Accessors(chain = true)
@Schema(name = "Account", description = "用户 DTO")
public class AccountUpdateDto implements Serializable {


    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 账号
     */
    @Schema(description = "账号")
    private String username;

    /**
     * 昵称
     */
    @Schema(description = "昵称")
    private String nickname;
    /**
     * 邮箱
     */
    @Schema(description = "邮箱")
    private String email;

    /**
     * 联系方式
     */
    @Schema(description = "联系方式")
    private String contact;
    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    /**
     * 状态;状态，0：禁用，1：启用，2：锁定
     */
    @Schema(description = "状态;状态，0：禁用，1：启用，2：锁定")
    private Integer state;

    /**
     * 部门ID
     */
    @Schema(description = "部门ID")
    private String departmentId;

    /**
     * 角色ID
     */
    @Schema(description = "角色ID")
    private List<String> roleId;

    @Schema(description = "测试时间")
    private LocalDateTime time;

}
